package com.xbongbong.pro.service.market.statistics.factory;


import com.xbongbong.pro.service.market.statistics.MarketActivity4StaticHandle;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @auther: yingjianfeng
 * @Date: 2022/3/15 14:32
 * @Description:
 */
@Component
public class MarketActivity4StaticFactory {

    @Resource
    private Map<Integer, MarketActivity4StaticHandle> marketActivity4StaticMap;

    public MarketActivity4StaticHandle getMarketActivity4StaticHandle(Integer businessType) {
        return marketActivity4StaticMap.get(businessType);
    }
}
